<template>
  <div>
    <div>
      {{list}}
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  layout: 'blog',
  transition: 'test',
  created() {
    
  },
  asyncData(context) {
    console.log(context.userAgent)
  },
  computed: {
    ...mapState(['list'])
  }
}
</script>

<style scoped>
.test-enter-active,
.test-leave-active {
  transition: opacity 0.5s;
}
.test-enter,
.test-leave-active {
  opacity: 0;
}
</style>